﻿using System;


namespace epicenter2010.NH.Caching
{
    /// <summary>
    /// Customer entity
    /// bstack @ 08/09/2009
    /// </summary>
    public class Customer
    {
        /// <summary>
        /// Id
        /// </summary>
        public virtual int Id { get; private set; }

        /// <summary>
        /// First name
        /// </summary>
        public virtual string FirstName { get; set; }

        /// <summary>
        /// Last name
        /// </summary>
        public virtual string LastName { get; set; }


        /// <summary>
        /// Ctor
        /// </summary>
        protected Customer() { }


        /// <summary>
        /// Ctor with args
        /// </summary>
        /// <param name="firstName"></param>
        /// <param name="lastName"></param>
        public Customer(
            int id,
            string firstName,
            string lastName)
        {
            this.Id = id;
            this.FirstName = firstName;
            this.LastName = lastName;
        }
    }
}
